@extends('admin.layouts.index')
@section('title', "批量切换小程序")
@section('keyword', "")
@section('description', "")
@section('content')

<div class="row">
    <div class="col-md-12">
        <form id="comment-form" method="POST" action="{{ URL::current() }}" enctype="multipart/form-data">
            <div class="card">
                <div class="card-header">
                    <div class="card-title">批量切换小程序</div>
                </div>
                <div class="card-body">
                    <div class="form-group">
                        <label for="text">原小程序Appid:</label>
                        <input type="text" class="form-control" name="oldappid" placeholder="例如：wx8ff8b86****88888" value="{{ old('oldappid') }}">
                        @csrf
                    </div>
                    <div class="form-group">
                        <label for="text">新小程序的APPID:</label>
                        <input type="text" class="form-control" name="appid" placeholder="例如：wx8ff8b86****88888" value="{{ old('appid') }}">
                    </div>
                    <div class="form-group">
                        <label for="text">用户ID:</label>
                        <input type="text" class="form-control" name="users_id" placeholder="如果只更新某人的链接,则输入用户ID" value="{{ old('users_id') }}">
                    </div>
                    <div class="form-group">
                        <label for="text">外链类型:</label>
                        <select class="form-control input-square" name="platfrom_type">
                            <option value="" selected>全部类型</option>
                            <option value="1">公众号文章</option>
                            <option value="2">公众号客服</option>
                            <option value="3">个人客服</option>
                            <option value="4">小程序(密钥版)</option>
                            <option value="5">小程序(Urlscheme版)</option>
                            <option value="6">小程序(点击版)</option>
                            <option value="8">个人微信二维码</option>
                            <option value="9">微信群二维码</option>
                            <option value="11">小程序码</option>
                            <option value="12">公众号二维码模式</option>
                            <option value="13">活链接</option>
                        </select>
                    </div>
                </div>
                <div class="card-action">
                    <button class="btn btn-primary">立即批量切换小程序</button>
                </div>
            </div>
        </form>
    </div>
</div>

@endsection
